package com.example.drools.dto;

import com.example.drools.model.Score;

import java.util.List;

/**
 * 定价请求DTO
 */
public class PricingRequest {
    private String userId;
    private int age;
    private List<String> segments;
    private String region;
    private String page;
    private String device;
    private List<Score> scores;
    private double originalPrice;

    public PricingRequest() {}

    // Getters and Setters
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public List<String> getSegments() {
        return segments;
    }

    public void setSegments(List<String> segments) {
        this.segments = segments;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public List<Score> getScores() {
        return scores;
    }

    public void setScores(List<Score> scores) {
        this.scores = scores;
    }

    public double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(double originalPrice) {
        this.originalPrice = originalPrice;
    }

    @Override
    public String toString() {
        return "PricingRequest{" +
                "userId='" + userId + '\'' +
                ", age=" + age +
                ", segments=" + segments +
                ", region='" + region + '\'' +
                ", page='" + page + '\'' +
                ", device='" + device + '\'' +
                ", scores=" + scores +
                ", originalPrice=" + originalPrice +
                '}';
    }
}